package com.service.admin.otc.controller.rep;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.Date;

/**
 * <dl>
 * <dt>back-end</dt>
 * <dd>Description:</dd>
 * <dd>Copyright: Copyright (C) 2015</dd>
 * <dd>Company: </dd>
 * <dd>CreateDate: 2019年11月27日</dd>
 * </dl>
 *
 * @author
 */
@Setter
@Getter
@ToString
public class OtcTradeDetailRep {

    private Integer id;

    // 交易订单id
    private Integer otcOrderId;

    // 交易订单号
    private String otcOrderNo;

    // 买入(卖出)会员id
    private Integer memberId;

    private String memberAccount;

    private String memberName;

    //OTC所属会员id
    private Integer sourceMemberId;

    // 买入(卖出)数量
    private BigDecimal buyNum;

    // 买入(卖出)单价
    private BigDecimal otcPrice;

    // 交易总金额
    private BigDecimal payMoney;

    // 货币id
    private Integer coinsId;

    // 货币名称
    private String coinsName;

    // 交易货币id
    private Integer tradeCoinsId;

    // 交易货币名称
    private String tradeCoinsName;

    // 交易类型(1:买入;2:卖出)
    private Integer detailType;

    // 创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

}
